home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
C
/
Frameworks
/
Grant's CGI Framework 1.0b12
/
test.script
< prev
Wrap
Text File
|
1995-08-18
|
885b
|
19 lines
set CGIResult to ""
set ListSTARResult to 99
tell application "cgi.acgi"
set CGIResult to CGI "path" method "POST" search "search+here" post ¬
"Field1=Some+text&field+2=%80that's+percent+80" client address ¬
"grant.mac.home" usermail "grant@acm.org" username "GRANT" password ¬
"TEST" server address "192.0.1.2" server port "80" script name "" referer ¬
"http://arpp1.carleton.ca/grant/" user agent "AppleScript" content type ¬
"text/plain" action name "TEST" action path "" client IP "192.0.1.2" full request ¬
"" version "1.2" connection 1997 -- Star Wars' 20th anniversary
set ListSTARResult to ListSTAREvent "MyService" sender "Test User" email ¬
"user@mail.test" subject "Test Message" regexp "test regexep" filename ¬
"test.msg" mailcenter "" mczone "" mcemail ""
end tell
return CGIResult & return & return & "ListSTAR Result: " & (ListSTARResult as text)